package com.xxbb.springbootapi.service.impl;

import com.xxbb.springbootapi.entity.RoleAuthority;
import com.xxbb.springbootapi.mapper.RoleAuthorityMapper;
import com.xxbb.springbootapi.service.IRoleAuthorityService;
import com.xxbb.springbootapi.wrapper.RoleAuthorityQuery;
import org.springframework.stereotype.Service;

@Service
public class RoleAuthorityService extends BaseService<RoleAuthorityMapper,RoleAuthority> implements IRoleAuthorityService{
    /**
     * 获取mapper
     *
     * @return
     */
    public RoleAuthorityMapper getMapper() {
        return super.dao.mapper;
    }

    /**
     * 获取query
     *
     * @return
     */
    public RoleAuthorityQuery getQuery() {
        return super.dao.mapper.query();
    }
}
